package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.EaiSysResourceProxy;

import java.time.LocalDateTime;

/**
 * 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "EaiSysResource", description = "$table.comment")
@Table(value = "EAI_SYS_RESOURCE")
@EntityFileProxy
public class EaiSysResource implements ProxyEntityAvailable<EaiSysResource, EaiSysResourceProxy> {

    @Column(value = "RES_ID", primaryKey = true)
    private String resId;

    @Column(value = "RES_NAME")
    private String resName;

    @Column(value = "RES_CLASS")
    private String resClass;

    @Column(value = "CONTENT")
    private Byte[] content;

    @Column(value = "CONTENT_TYPE")
    private String contentType;

    @Column(value = "FILENAME")
    private String filename;

    @Column(value = "DEVELOP_DATE")
    private LocalDateTime developDate;

    @Column(value = "ORG_ID")
    private String orgId;

    @Column(value = "AUTHOR")
    private String author;

    @Column(value = "VERSION")
    private String version;

    @Column(value = "NEWS_ID")
    private String newsId;
}
